<?php
class Productp extends Zend_Db_Table_Abstract
{

    protected $_name = 'product'; 
           
  /*  public function getProduct()
    {
		$productpModel = new self();
		$select = $productpModel->select( );
		$select->order(array('p_id'));
		
	
			
		return $productpModel->fetchAll($select);
    }  
   */ 
     
    /**
     * Fetch the latest $count places
     *
     * @param int $count
     * @return Zend_Db_Table_Rowset_Abstract
     */
    public function fetchLatest($count =6 )
    {
        return $this->fetchAll(null, 
            'p_id DESC', $count);
    }
	public function fetchLatest($count =6 )
    {
        return $this->fetchAll(null, 
            'p_id DESC', $count);
    }

}